package com.dmxh.service;

import com.dmxh.params.QueryParams;
import com.dmxh.pojo.TbSpecification;
import com.dmxh.pojo.TbSpecificationOption;
import com.dmxh.result.PageList;
import com.dmxh.vo.SpecificationVo;

import java.util.List;

public interface SpecService {
    PageList<SpecificationVo> queryPage(QueryParams<SpecificationVo> queryParams);

    void deleteInfo(Integer id);

    SpecificationVo queryById(long id);

    void addInfo(SpecificationVo specificationVo);

    void updateInfo(SpecificationVo specificationVo);

    void deleteBatch(Integer[] ids);

    List<SpecificationVo> queryAllSpec();

    List<TbSpecificationOption> getAllOption();
}
